<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>深入理解line-height与vertical-align</title>
    <style>
        .container {
            height: 50px;
            line-height:50px; 
            background: red;
        }

        .s1 {
            font-size: 16px;
            /* line-height:40px;  */
        }

        .s2 {
            font-size: 32px;
            /* line-height:60px;  */
        }
    </style>
</head>
<body>
    <div class="container">
        assad
        <span class="s1">第一个</span>
        <span class="s2">第二个</span>
    </div>
</body>
</html>